import java.util.*;

public class VarargMethod {
    void test() {
        Collection<String> list = new ArrayList<>();
        list.add(String.format("m"<caret>, p1, p2
    }
}